//
//  Person.h
//  05-HomeWork
//
//  Created by dllo on 16/7/8.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) NSInteger age;
@property (nonatomic, copy) NSString *sex;
- (NSComparisonResult)compareWithName: (Person *)otherPerson;
- (NSComparisonResult)compareWithAge: (Person *)otherPerson;
- (NSComparisonResult)compareWithSex: (Person *)otherPerson;
@end
